package bg.code.commons.builder.vo;

/**
 * @author 郑兴泉 956607644@qq.com
 * @data 2020/3/18
 * 描述：
 */
public final class ColumnDescriptor {

    // JAVA字段名称
    private String name;
    // 是否主键
    private boolean primaryKey;
    // 字段描述
    private String comment;
    // 数据库字段名
    private String columnName;
    // JAVA字段类型
    private String type;
    // JAVA字段类型包含引用
    private String fullType;
    // 是否日期
    private boolean date;
    // 是否日期
    private String dateFormat;
    // 是否字典
    private boolean dict;
    // 字典Code
    private String dictCode;
    // 是否多选字典
    private boolean multiDict;
    // 必填项
    private boolean required;
    // 是否作为查询项
    private boolean queryState;
    // 是否单行文本框
    private boolean singleInput;
    // 是否下拉框
    private boolean singleSelect;
    // 是否下拉框（复选）
    private boolean multipleSelect;
    // 是否单行文本框
    private boolean multipleInput;
    // 多行文本框宽
    private int multipleInputWidth;
    // 多行文本框列高
    private int multipleInputHeight;
    // 是否百度UE4
    private boolean baiDuUe4;
    // 是否前端显示
    private boolean show;
    // 标签提示文本
    private String showLabelName;
    // 文本提示
    private String showPlaceholder;
    // 附件
    private boolean attachment;
    // 多选附件
    private boolean attachmentMultiple;
    // 多选附件
    private boolean attachmentAllIsImg;
    // 附件格式
    private String attachSuffix;
    // 前端提示提示信息
    private String placeholder;
    // 前端Label信息
    private String LabelName;
    // 有效长度
    private int maxLength;

    // 是否一对一映射
    private boolean oneOne;
    private String oneOneField;
    private String oneOneClassName;
    private String oneOneClassQualifiedName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(boolean primaryKey) {
        this.primaryKey = primaryKey;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFullType() {
        return fullType;
    }

    public void setFullType(String fullType) {
        this.fullType = fullType;
    }

    public boolean isDate() {
        return date;
    }

    public void setDate(boolean date) {
        this.date = date;
    }

    public boolean isDict() {
        return dict;
    }

    public void setDict(boolean dict) {
        this.dict = dict;
    }

    public String getDictCode() {
        return dictCode;
    }

    public void setDictCode(String dictCode) {
        this.dictCode = dictCode;
    }

    public boolean isMultiDict() {
        return multiDict;
    }

    public void setMultiDict(boolean multiDict) {
        this.multiDict = multiDict;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public boolean isSingleInput() {
        return singleInput;
    }

    public void setSingleInput(boolean singleInput) {
        this.singleInput = singleInput;
    }

    public boolean isMultipleInput() {
        return multipleInput;
    }

    public void setMultipleInput(boolean multipleInput) {
        this.multipleInput = multipleInput;
    }

    public int getMultipleInputWidth() {
        return multipleInputWidth;
    }

    public void setMultipleInputWidth(int multipleInputWidth) {
        this.multipleInputWidth = multipleInputWidth;
    }

    public int getMultipleInputHeight() {
        return multipleInputHeight;
    }

    public void setMultipleInputHeight(int multipleInputHeight) {
        this.multipleInputHeight = multipleInputHeight;
    }

    public boolean isBaiDuUe4() {
        return baiDuUe4;
    }

    public void setBaiDuUe4(boolean baiDuUe4) {
        this.baiDuUe4 = baiDuUe4;
    }

    public boolean isShow() {
        return show;
    }

    public void setShow(boolean show) {
        this.show = show;
    }

    public boolean isAttachment() {
        return attachment;
    }

    public void setAttachment(boolean attachment) {
        this.attachment = attachment;
    }

    public boolean isAttachmentMultiple() {
        return attachmentMultiple;
    }

    public void setAttachmentMultiple(boolean attachmentMultiple) {
        this.attachmentMultiple = attachmentMultiple;
    }

    public boolean isAttachmentAllIsImg() {
        return attachmentAllIsImg;
    }

    public void setAttachmentAllIsImg(boolean attachmentAllIsImg) {
        this.attachmentAllIsImg = attachmentAllIsImg;
    }

    public String getAttachSuffix() {
        return attachSuffix;
    }

    public void setAttachSuffix(String attachSuffix) {
        this.attachSuffix = attachSuffix;
    }

    public String getPlaceholder() {
        return placeholder;
    }

    public void setPlaceholder(String placeholder) {
        this.placeholder = placeholder;
    }

    public String getLabelName() {
        return LabelName;
    }

    public void setLabelName(String labelName) {
        LabelName = labelName;
    }

    public int getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(int maxLength) {
        this.maxLength = maxLength;
    }

    public boolean isOneOne() {
        return oneOne;
    }

    public void setOneOne(boolean oneOne) {
        this.oneOne = oneOne;
    }

    public String getOneOneField() {
        return oneOneField;
    }

    public void setOneOneField(String oneOneField) {
        this.oneOneField = oneOneField;
    }

    public String getOneOneClassName() {
        return oneOneClassName;
    }

    public void setOneOneClassName(String oneOneClassName) {
        this.oneOneClassName = oneOneClassName;
    }

    public String getOneOneClassQualifiedName() {
        return oneOneClassQualifiedName;
    }

    public void setOneOneClassQualifiedName(String oneOneClassQualifiedName) {
        this.oneOneClassQualifiedName = oneOneClassQualifiedName;
    }

    public String getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }

    public String getShowLabelName() {
        return showLabelName;
    }

    public void setShowLabelName(String showLabelName) {
        this.showLabelName = showLabelName;
    }

    public String getShowPlaceholder() {
        return showPlaceholder;
    }

    public void setShowPlaceholder(String showPlaceholder) {
        this.showPlaceholder = showPlaceholder;
    }

    public boolean isQueryState() {
        return queryState;
    }

    public void setQueryState(boolean queryState) {
        this.queryState = queryState;
    }

    public boolean isSingleSelect() {
        return singleSelect;
    }

    public void setSingleSelect(boolean singleSelect) {
        this.singleSelect = singleSelect;
    }

    public boolean isMultipleSelect() {
        return multipleSelect;
    }

    public void setMultipleSelect(boolean multipleSelect) {
        this.multipleSelect = multipleSelect;
    }
}
